|
Command: |
Unlinked Load Transaction Request. |
|
Notes: |
Use of this command requires the optional ESP licence. Error code 67 will be returned if the command is not licensed. The current Base firmware does not support a double length TPK. However, future versions will support this so the definition of the command needs to allow for a re-build under future base versions to allow double length TPK's. |
|
Field |
Length & Type |
Details | |
|
COMMAND MESSAGE |
|||
|
Message Header |
m A |
Will be returned to the Host unchanged | |
|
Command Code |
2 A |
Value “T0” | |
|
S1 |
8 B |
The CEP Card MAC produced by the card during 'Card Initialise for Load'. | |
|
HCEP |
10 B |
The SHA-1 Hash generated by the CEP card on the Load Transaction data. | |
|
TPK |
16 H or 1A+32H |
The Terminal PIN key encrypted under LMK pair 14-15. A single length TPK will be input as 16 hexadecimal characters. A double length TPK will be input as a ‘U’ character (to be confirmed) followed by 32 hexadecimal characters. | |
|
REFNO |
3 B |
The Transaction Reference Number | |
|
R1Length |
1 N |
The required length of the generated key R1 Value of '1' represents single length Value of '2' represents double length | |
|
IDISS |
4 B |
The Issuer ID | |
|
IDCEP |
6 B |
The CEP Card Identifier | |
|
NTCEP |
2 B |
The transaction number assigned by the Load Acquirer | |
|
CURRLDA |
3 B |
The Currency Indicator | |
|
IDLACQ |
4 B |
Load Acquirer ID | |
|
IDLDA |
6 B |
The Identifier for the Load Device | |
|
MLDA |
4 B |
The Transaction amount | |
|
DDCEPLength |
1 B |
The length in bytes of the DDCEP field that follows | |
|
DDCEP |
0-32 B |
Discretionary Data. | |
|
End Message Delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X'19 | |
|
Message Trailer |
n A |
Optional. Maximum length 32 characters | |
|
Field |
Length & Type |
Details |
|
RESPONSE MESSAGE |
||
|
Message Header |
m A |
Will be returned to the Host unchanged |
|
Response Code |
2 A |
Value “T1” |
|
Error Code |
2 N |
00 - No error 11 - TPK Parity Error 12 - No keys loaded in user storage 13 - LMK error - report to Supervisor 15 - Error in input data 21 - Invalid user storage index
|
|
(DES)R1 |
16 H or 32 H |
The generated session key encrypted under the TPK. (Note, if the supplied TPK is double length then this will also be double length) |
|
(DES)RLSAM |
64 H |
The generated double length key RLSAM and other data CBC encrypted under LMK pair 10-11 |
|
(DES)R2LSAM |
64 H |
The generated double length key R2LSAM and other data CBC encrypted under LMK pair 10-11 |
|
HLSAM |
8 B |
SHA-1 hash of internally generated RLSAM |
|
H2LSAM |
8 B |
SHA-1 hash of internally generated R2LSAM |
|
(DES)HCEP |
64 H |
The HCEP, concatenated with REFNO and IDLACQ and CBC encrypted under LMK pair 10-11 |
|
MACLSAM |
4 B |
EMV MAC of Transactional data. |
|
End Message Delimiter |
1 C |
Will only be present if present in the command message. Value X'19 |
|
Message Trailer |
n A |
Will only be present if in the command message. Maximum length 32 characters |